package com.aaa.sys.mapper;

import com.aaa.sys.entity.Notice;
import com.aaa.sys.vo.NoticeResult;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 通知表 Mapper 接口
 * </p>
 *
 * @author ykq
 * @since 2020-12-08
 */
public interface NoticeMapper extends BaseMapper<Notice> {

    IPage<NoticeResult> selectWithUserPage(Page<NoticeResult> page1, @Param(Constants.WRAPPER) QueryWrapper<Notice> wrapper);
}
